From efa2dca17ae5e5807183e3da21e21cfec6776e4b Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 22 Jan 2007 17:07:16 +0000 Subject: [PATCH] Fix failure to localise xm by preventing cd from writing to stdout which gets incorrectly captured as a value for the bash for loop. Signed-off-by: Keir Fraser --- tools/python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/Makefile b/tools/python/Makefile index 085ac84b5a..dfef918cb4 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -8,7 +8,7 @@ all: build build: CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build if which $(MSGFMT) >/dev/null ; then \ - for file in `cd xen/xm; find messages -name xen-xm.po`; do \ + for file in `cd ./xen/xm; find messages -name xen-xm.po`; do \ dest=`echo "build/$$file" | \ sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \ mkdir -p `dirname "$$dest"`; \ -- 2.30.2